package request

type UserForm struct {
	Username string `form:"username" json:"username" binding:"required"`
	Password string `form:"password" json:"password" binding:"required"`
	NewPassword string `form:"new_password" json:"new_password" binding:"required"`
}

type LoginForm struct {
	Username string `form:"username" json:"username" binding:"required"`
	Password string `form:"password" json:"password" binding:"required"`
	Captcha   string `json:"captcha" binding:"required"`
	CaptchaId string `json:"captchaId" binding:"required"`
}

type StateForm struct  {
	ID int `json:"user_id"`
	State bool `json:"state"`
}

type UserRoleForm struct {
	UserId int `form:"user_id"`
	RoleId int `form:"role_id"`
}